/*   1:    */ package com.atomikos.icatch.imp;
/*   2:    */ 
/*   3:    */ import com.atomikos.icatch.Participant;
/*   4:    */ 
/*   5:    */ class Reply
/*   6:    */ {
/*   7: 38 */   protected Exception exception_ = null;
/*   8: 40 */   protected Object response_ = null;
/*   9: 42 */   protected Participant participant_ = null;
/*  10: 44 */   protected boolean retried_ = false;
/*  11:    */   
/*  12:    */   public Reply(Object response, Exception exception, Participant participant, boolean retried)
/*  13:    */   {
/*  14: 63 */     this.response_ = response;
/*  15: 64 */     this.exception_ = exception;
/*  16: 65 */     this.participant_ = participant;
/*  17: 66 */     this.retried_ = retried;
/*  18:    */   }
/*  19:    */   
/*  20:    */   public boolean hasFailed()
/*  21:    */   {
/*  22: 78 */     return this.exception_ != null;
/*  23:    */   }
/*  24:    */   
/*  25:    */   public boolean isRetried()
/*  26:    */   {
/*  27: 89 */     return (hasFailed()) && (this.retried_);
/*  28:    */   }
/*  29:    */   
/*  30:    */   public Exception getException()
/*  31:    */   {
/*  32:100 */     return this.exception_;
/*  33:    */   }
/*  34:    */   
/*  35:    */   public Object getResponse()
/*  36:    */   {
/*  37:112 */     return this.response_;
/*  38:    */   }
/*  39:    */   
/*  40:    */   public Participant getParticipant()
/*  41:    */   {
/*  42:123 */     return this.participant_;
/*  43:    */   }
/*  44:    */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions\3.7.0\transactions-3.7.0.jar
 * Qualified Name:     com.atomikos.icatch.imp.Reply
 * JD-Core Version:    0.7.0.1
 */